import java.util.ArrayList;
import java.util.Date;
import java.util.Map;
import java.util.Set;

public class Activite {
	private String nomVille, codePostal, type, description;
	private Set<Commentaire> commentaires;
	private Date debut, fin;
	
	public Activite(String nomVille,String codePostal,String type,String description,Date debut,Date fin){
		this.nomVille = nomVille;
		this.codePostal = codePostal;
		this.type = type;
		this.description = description;
		this.commentaires = commentaires;
		this.debut = debut;
		this.fin = fin;
	}

	@Override
	public String toString() {
		return "Activite [nomVille=" + nomVille + ", codePostal=" + codePostal
				+ ", type=" + type + ", description=" + description
				+ ", commentaires=" + commentaires + ", debut=" + debut
				+ ", fin=" + fin + "]";
	}

	void addCommentaire(Commentaire com){
		commentaires.add(com);
	}
}